package com.hsxc.cdz.controller.wxController.util;

/** 
* @author  wpfei
* @version 创建时间：2016年7月5日 上午13:54:06 
* 类说明 ：
*/
public class Constants {
	/**
	 * APPID
	 */
	public static final String APP_ID = "wx1ae546982c5e0b27";
	public static final String APPSECRET = "905e627f7c8c68947fd366e9b49f22d1";
	public static String weixin_jssdk_acceToken_url = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid="+APP_ID+"&secret="+APPSECRET;
	public static String weixin_jssdk_ticket_url = "https://api.weixin.qq.com/cgi-bin/ticket/getticket?type=jsapi&access_token=ACCESS_TOKEN";
	public static String weixin_jssdk_openid_url = "https://api.weixin.qq.com/sns/oauth2/access_token?appid="+APP_ID+"&secret="+APPSECRET+"&code=CODE&grant_type=authorization_code";

	/**
	 * ACCESS_TOKEN有效时间(单位：ms)
	 */
	public static int EFFECTIVE_TIME = 700000;
	/**
	 * conf.properties文件路径
	 */
	public static String CONF_PROPERTIES_PATH ="/usr/jboss/wildfly-9.0.2.Final/standalone/deployments/config.properties";
	//public static String CONF_PROPERTIES_PATH ="E:\\config.properties";
	
	/**
	 * 微信接入token ，用于验证微信接�?
	 */
	public static String TOKEN = "weixin";
}
